﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Content;

namespace LoA.Shared.Screen.Entities {
	public class PopupEntry : IPopupScreenEntry {
		protected PopupEntry( ) { }

		public PopupEntry(string message, EntryAction action, EntryButtons buttons) {
			this.Message = message;
			this.Action = action;
			this.Buttons = buttons;
		}

		public PopupEntry(string name, string message, EntryAction action, EntryButtons buttons) {
			this.Name = name;
			this.Message = message;
			this.Action = action;
			this.Buttons = buttons;
		}

		public PopupEntry(string message, EntryAction action, EntryButtons buttons, string title) {
			this.Message = message;
			this.Action = action;
			this.Buttons = buttons;
			this.Title = title;
		}

		public PopupEntry(string name, string message, EntryAction action, EntryButtons buttons, string title) {
			this.Name = name;
			this.Message = message;
			this.Action = action;
			this.Buttons = buttons;
			this.Title = title;
		}

		[ContentSerializer]
		public string Name { get; private set; }

		[ContentSerializer]
		public string Message { get; private set; }

		[ContentSerializer]
		public EntryAction Action { get; private set; }

		[ContentSerializer]
		public EntryButtons Buttons { get; private set; }

		[ContentSerializer]
		public string Title { get; private set; }
	}
}
